#include "user.h"
User::User(int _id, string _name, string _password, string _state)
    : id(_id), name(_name), password(_password), state(_state) {}
void User::setId(int _id)
{
    id = _id;
}
void User::setName(string _name)
{
    name = _name;
}
void User::setPassword(string _password)
{
    password = _password;
}
void User::setState(string _state)
{
    state = _state;
}
int User::getId()
{
    return id;
}
string User::getName()
{
    return name;
}
string User::getPassword()
{
    return password;
}
string User::getState()
{
    return state;
}